*===================================================================================*
* Ado-file: 	csxm Version 1.0 
* Author: 		Chen Shao(陈志豪)
* Affiliation: 	Lanzhou University
* E-mail: 		chenzhh20@lzu.edu.cn
* License:      Mulan PSL v2
* Date: 		2025/2/17                                 
*===================================================================================*

capture program drop csxm
program define csxm
	syntax [anything]
	di in blue "晨韶学妹向您报告："
	di in white "{hline}"
	if "`anything'" == "命令" {
		di in yellow "---晨韶学妹de一键命令---"
		di in white "{hline}"
		di in white "{help csxmcs} 一键截面数据分析"
		di in white "{help csxmpcadr} 一键PCA降维"
		di in white "{help csxmvarsel} 一键控制变量选取(探索版)"
		di in white "{hline}"
		di in white "{help csxmtsst} 一键时间序列平稳性检验"
		di in white "{help csxmtsac} 一键时间序列自相关检验与修正"
		di in white "{hline}"
		di in white "{help csxmpnlurt} 一键面板数据平稳性检验"
		di in white "{help csxmpnl} 一键面板数据分析"
		di in white "{hline}"
        di in white "{help csxmaihlp} AI命令助手(Windows网页版)"
		di in white "{hline}"
		di in yellow "→您可以点击查看这几个命令help的文档来进一步了解怎么使用它们→"
	}
	else if "`anything'" == "兰州大学" {
		di in white "呜呜呜兰州大学是一座好学校"
	}
	else if "`anything'" == "滚" {
		di in white "呜呜呜我这就滚"
	}
	else if "`anything'" == "日期" {
	    qui di c(current_date)
		di in white "今天是" c(current_date) _n "我们还年轻啊，同学们，还年轻，" _n "来日方长，我们应该建康地活着。" 
	}
	else if "`anything'" == "时间" {
	    qui di c(current_time)
		di in white "现在是" c(current_time) _n "认清历史使命，清醒，理智，坚毅，沉着，实事求是，艰苦奋斗，" _n "这是当代中国青年最可贵最需要的品质。"
	}
	else if "`anything'" == "梁涛"{
		di in white "梁涛是陈志豪的好儿子喔。"
	}
    else if "`anything'" == "更新" {
		net install csxm, from(https://gitee.com/chenshaoxuemei/csxm/raw/master) replace
        di in white "已下载最新版晨韶学妹系列命令。"
	}
	else {
		di in white "小笨蛋学妹不太懂您的需求呢~"
		di in white "您可以查看help文档来了解我可以做哪些事哦~"
		di in white "当然，我猜您是想了解这些命令："
		di in white "{hline}"
		di in yellow "---晨韶学妹de一键命令---"
		di in white "{hline}"
		di in white "{help csxmcs} 一键截面数据分析"
		di in white "{help csxmpcadr} 一键PCA降维"
		di in white "{help csxmvarsel} 一键控制变量选取(探索版)"
		di in white "{hline}"
		di in white "{help csxmtsst} 一键时间序列平稳性检验"
		di in white "{help csxmtsac} 一键时间序列自相关检验"
		di in white "{hline}"
		di in white "{help csxmpnlurt} 一键面板数据平稳性检验"
		di in white "{help csxmpnl} 一键面板数据分析"
		di in white "{help csxmshtpnl} 一键短面板分析"
		di in white "{hline}"
        di in white "{help csxmaihlp} AI命令助手(Windows网页版)"
		di in white "{hline}"
		di in yellow "→您可以点击查看这几个命令help的文档来进一步了解怎么使用它们→"
		di in white "(如果我猜的不对，请不要怪我qwq)"
        di in white "建议您经常输入 csxm 更新，以获取最新的命令哦"
	}
	di in blue "您布置的任务已经完成，请您过目~♥"
end